import request from '@/utils/request'

// 查询挂号费用列表
export function listRegistfee(query) {
  return request({
    url: '/keshi/registfee/list',
    method: 'get',
    params: query
  })
}

// 查询挂号费用详细
export function getRegistfee(guaId) {
  return request({
    url: '/keshi/registfee/' + guaId,
    method: 'get'
  })
}

// 新增挂号费用
export function addRegistfee(data) {
  return request({
    url: '/keshi/registfee',
    method: 'post',
    data: data
  })
}

// 修改挂号费用
export function updateRegistfee(data) {
  return request({
    url: '/keshi/registfee',
    method: 'put',
    data: data
  })
}

// 删除挂号费用
export function delRegistfee(guaId) {
  return request({
    url: '/keshi/registfee/' + guaId,
    method: 'delete'
  })
}

// 导出挂号费用
export function exportRegistfee(query) {
  return request({
    url: '/keshi/registfee/export',
    method: 'get',
    params: query
  })
}
